{extend name="Public/content"/}
{block name='content'}   
<div class="layui-col-md12">
    <form class="layui-form modal-form-box" action="__SELF__" data-auto="true" method="post">

        <div class="layui-form-item">
            <div class="layui-input-block">
                <textarea name="user_page" class="layui-textarea" required id="editor">{:sysconf('user_page')}</textarea>
            </div>
        </div>

        <div class="layui-form-item text-center">
            <button class="layui-btn" type="submit">保存数据</button>
        </div>
    </form>
</div>
<script>
    require(['ckeditor'], function () {
        window.createEditor('#editor', {height: 600});
    });
</script>
{/block}